package cn.buyclss.backend.mapper.shop;

import cn.buyclss.backend.entity.domain.shop.NsMessage;
import cn.buyclss.backend.entity.domain.shop.NsMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NsMessageMapper {
    /**
     *
     * @mbg.generated 2019-03-11
     */
    long countByExample(NsMessageExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int deleteByExample(NsMessageExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int insert(NsMessage record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int insertSelective(NsMessage record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    List<NsMessage> selectByExample(NsMessageExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    NsMessage selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByExampleSelective(@Param("record") NsMessage record, @Param("example") NsMessageExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByExample(@Param("record") NsMessage record, @Param("example") NsMessageExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByPrimaryKeySelective(NsMessage record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByPrimaryKey(NsMessage record);
}